<?php
/* @var $this DichvuController */
/* @var $dataProvider CActiveDataProvider */

$this->breadcrumbs=array(
	'Services',
);
?>

<?php
Yii::app()->clientScript->registerScript('search',
    "var ajaxUpdateTimeout;
    var ajaxRequest;
    $('input#search').keyup(function(){
        ajaxRequest = $(this).serialize();
        clearTimeout(ajaxUpdateTimeout);
        ajaxUpdateTimeout = setTimeout(function () {
            $.fn.yiiListView.update(
                'yw0',
                {data: ajaxRequest}
            )
        },
        500);
    });"
);

?>
<!-- search tools -->

<div style='width: 100%; float: left;'>
	<div class='pitem-search'style='background: white;'>	
		<div class='header' >
		Search
		</div>
		<input type="text" id="search" name="search" style=' float:left; padding: 5px; font-size: 20px;padding-right:0px; box-border: 5px; width: 202px;'/>
		<div class='description'>
		Type here any tools, solutions, or services you are looking for the search will be filtered instantly. You can also select categories on the right to show only this services.
		</div>
	</div>
	<div class='pitem-search ppink'>	
		<div class='header' >
			Factory Services
		</div>
		<div class='description'>
			Mobile unlocking services by brand provided by a calculator no matter the country and carrier.
		</div>
	</div>

	<div class='pitem-search pgray'>	
		<div class='header' >
			BETA Version
		</div>
		<div class='description'>
			Try the latest beta versions of few different services before everyone else!
		</div>
	</div>
	
	<div class='pitem-search porange'>	
		<div class='header' >
			Tools & Activations
		</div>
		<div class='description'>
			Mobile softwares, activations for the most wanted solutions including box & dongles.
		</div>
	</div>

	<div class='pitem-search pred'>	
		<div class='header' >
			Cable services
		</div>
		<div class='description'>
			Mobile unlocking and tools services using a external cable or external devices.
		</div>
	</div>

</div>

<!-- End search tools -->


<?php $this->widget('EBootstrapListView', array(
	'ajaxUpdate'=>true,
	'dataProvider'=>$dataProvider,
	'itemView'=>'_view',
)); ?>
